package org.mriassl.service.user.service.impl;

import java.util.List;

import org.mriassl.service.user.domain.User;
import org.mriassl.service.user.mapper.UserMapper;
import org.mriassl.service.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tk.mybatis.mapper.common.Mapper;

@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {

	@Autowired
	private UserMapper userMapper;

	@Override
	protected Mapper<User> getMapper() {
		return userMapper;
	}

	@Override
	public List<User> findByIds(String[] ids) {
		return userMapper.findByIds(ids);
	}

}
